<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="moduleView" />
<script src="${staticPath}/lib/accounting/0.3.2/accounting.min.js"
	type="text/javascript"></script>
<script type="text/javascript">
	$(document)
			.ready(
					function() {
						$('[data-accounting]').each(
								function() {
									var $this = $(this);
									$this.html(accounting.formatMoney($this
											.attr("data-accounting"), "¥ "));
								});
					});

						parent.document.getElementById("versionFrame").height = document.body.scrollHeight;
	function funform(url, target) {
		window.open(url, target);
	}

	function tr_onclick(id) {
		var url = $("#" + id + "url").text();
		//window.open("${contextPath}/"+url+"/"+id+"/view"); 
		parent.location.href = "${contextPath}/" + url + "/" + id + "/view";
	}
</script>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-14">
				<div class="panel panel-default">
					<tags:message content="${message}" />
					<table class="table table-striped table-bordered table-hover">
						<thead>
							<tr>
								<th>扣款单号</th>
								<th>区域</th>
								<th>门店</th>
								<th>供应商名称</th>
								<th>扣款项目</th>
								<th>扣款方式</th>
								<th>金额</th>
								<th>备注</th>
							</tr>
						</thead>
						<tbody>

							<tr>
								<td>${statementCasualExp.debitNoteNo}</td>
								<td>${statementCasualExp.area}</td>
								<td>${statementCasualExp.store}</td>
								<td>${statementCasualExp.supplierName}</td>
								<td>${statementCasualExp.debitItem}</td>
								<td>${statementCasualExp.debitMode}</td>
								<td data-accounting="${statementCasualExp.amount}"></td>
								<td>${statementCasualExp.remark}</td>
							</tr>

						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
</body>
</html>